package com.tom.dto;

import lombok.Data;

import java.util.List;

/**
 * All rights Reserved, Designed By www.tom.com
 *
 * @version V1.0
 * @Package bw-article-api
 * @Description:
 * @author: dengyi
 * @date: 2020/2/11
 * @Copyright: 2019 www.tomonline-inc.com Inc. All rights reserved.
 *             注意：本内容仅限于TOM集团内部传阅，禁止外泄以及用于其他的商业目
 */
@Data
public class ArticleContentDTO {

	private JDataBean JData;
	private int ErrorCode;
	private String ErrorMsg;

	@Data
	public static class JDataBean {
		private ArticleBean Article;
		private ArticleImgBean ArticleImg;
		private ArticleImgBean ArticleAuthor;
		private SpecialTopicBean SpecialTopic;
		private List<ArticleWebBreadcrumbsBean> ArticleWebBreadcrumbs;
		private List<?> ArticleMagBreadcrumbs;
		private List<ArticleTagBean> ArticleTag;
		private List<DSImgBean> DSImg;
		private List<DSBoxBean> DSBox;
		private List<ArticleInnerBean> ArticleInnerList;
		private List<ArticleEndBean> ArticleEndList;
		private List<CoverBean> CoverList;
		private List<?> ArticleFiles;
		private List<String> KeyLabelList;

		@Data
		public static class ArticleTagBean {
			private String ArticleTagID;
			private String Name;
		}

		@Data
		public static class ArticleBean {

			private String ID;
			private int DataTab;
			private int ContentType;
			private int AccessType;
			private String MagazineName;
			private String MagazinePageNo;
			private String MagazineID;
			private String MagazineIssueNumber;
			private String MagazineIssueNumber_1;
			private String MagazineImgSrc;
			private String MagazineCoverStory;
			private String MagazineBrief;
			private String MagazineUrl;
			private int MagazinePrice;

			public String getCategoryID() {
				return CategoryID;
			}

			private int MagazineSinglePrice;
			private int Points;
			private String WebCategoryZeroID;
			private String WebCategoryName;
			private String WebCategoryEngName;
			private String WebSubCategoryZeroID;
			private String WebSubCategoryName;
			private String WebSubCategoryEngName;
			private String CategoryID;
			private String CategoryName;
			private String CategoryAbstract;
			private String CategoryImgSrc;
			private String CategoryWriter;
			private String SubCategoryID;
			private String SubCategoryName;
			private String DisplayName;
			private String Writer;
			private String OriginalWriter;
			private String Interviewer;
			private String Sorter;
			private String Translator;
			private String Researcher;
			private String Producer;
			private String Photographer;
			private String ExtendTitle;
			private String ExtendValue;
			private String WebTarget;
			private String WebTitle;
			private String WebSubTitle;
			private String WebDescription;
			private String WebIntroduction;
			private String WebAbstract;
			private String WebContent;
			private String WebFurtherContent;
			private String NewDataTime;
			private String PublishDateTime;
			private String StartDateTime;
			private String EndDateTime;
			private String RealPublishTime;
			private int TotalClick;
			private int TotalComment;
			private boolean IsAD;
			private boolean IsFullContent;
			private boolean IsReadLater;
			private String LinkUrl;
			private boolean IsSale;
			private String WarningId;
			private String WarningNameTW;
			private String WarningNameEN;
			private String WarningDescription;
			private String WarningImgUrl;
			private String WarningPosition;
			private boolean IsArticleFiles;
			private boolean IsArticlePDFs;

			public boolean getIsAD() {
				return IsAD;
			}
		}

		@Data
		public static class ArticleImgBean {

			private String ID;
			private String Title;
			private String Name;
			private String Description;
			private String ImgSrc;
			private String Author;
			private String InsideShow;

		}

		@Data
		public static class SpecialTopicBean {
			private int RowID;
			private int SiteNo;
			private String Guid;
			private String ID;
			private int DataTab;
			private String MagazineIssueNumber;
			private String DisplayName;
			private String CategoryID;
			private String CategoryName;
			private String SubCategoryID;
			private String SubCategoryName;
			private String Title;
			private String SubTitle;
			private String Abstract;
			private String Writer;
			private String Content;
			private String ImgSrc;
			private String NewDataTime;
			private int TotalClick;
			private int TotalLike;
			private int TotalBookMark;
			private int AccessType;
			private boolean IsAD;
			private String LinkUrl;
			private String Target;
			private int RankingNo;
			private boolean IsReadLater;
			private String IsMobile;
			private String RouteType;
			private String RouteName;
			private String TitleUrlNo;
		}

		@Data
		public static class ArticleWebBreadcrumbsBean {
			private String ID;
			private String Name;
			private String EngName;

		}

		@Data
		public static class DSImgBean {

			private String ID;
			private String DSTagName;
			private boolean IsSwitchOn;
			private String ImgSrc;
			private String Title;
			private String Name;
			private String Description;
			private String Author;

		}

		@Data
		public static class DSBoxBean {
			private String ID;
			private String DSTagName;
			private String IsSwitchOn;
			private String Topic;
			private String Content;
			private String Type;
		}

		@Data
		public static class ArticleInnerBean {
			private String ID;
			private String SiteNo;
			private int DataTab;
		}

		@Data
		public static class ArticleEndBean {
			private String ID;
			private String SiteNo;
			private int DataTab;
		}

		@Data
		public static class CoverBean {
			private String ID;
			private String SiteNo;
			private int DataTab;
		}

	}
}
